{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Home</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <!-- Bootstrap styles -->
    <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">

    <!-- Font-Awesome -->
    <link rel="stylesheet" href="{% static  'css/font-awesome/css/font-awesome.min.css' %}">

    <!-- Styles -->
    <link rel="stylesheet" href="{% static 'css/style.css' %}" id="theme-styles">

    <!--[if lt IE 9]>
    <script src="js/respond.js"></script>
    <![endif]-->

</head>
<body>
<header>
    {% include 'header.html' %}
</header>

<div class="widewrapper main">
    <div class="container">
        <div class="row">
            <div class="col-md-8 blog-main">
                <div class="row">
                    {% for pdfInfo in pdfInfoList %}
                        <div class="col-md-6 col-sm-6">
                            <article class=" blog-teaser">
                                <header>
                                    <img src="{% static 'img/1.jpg' %}" alt="">
                                    <h3>
                                        <a href="../single">{{ pdfInfo.pName }}, {{ pdfInfo.pLike }}, {{ pdfInfo.pCollect }}</a>
                                    </h3>
                                    <span class="meta">{{ pdfInfo.sForeign.pUpdate|date:"d b Y" }}, 阅川</span>
                                    <hr>
                                </header>

                            </article>
                        </div>
                    {% endfor %}

                    {#                    <div class="col-md-6 col-sm-6">#}
                    {#                        <article class="blog-teaser">#}
                    {#                            <header>#}
                    {#                                <img src="{% static 'img/2.jpg' %}" alt="">#}
                    {#                                <h3><a href="../single">Clean Personal Blog Template</a></h3>#}
                    {#                                <span class="meta">19 August 2017, John Doe</span>#}
                    {#                                <hr>#}
                    {#                            </header>#}
                    {##}
                    {#                        </article>#}
                    {#                    </div>#}
                    {#                </div>#}
                    {##}
                    {#                <div class="row">#}
                    {#                    <div class="col-md-6 col-sm-6">#}
                    {#                        <article class="blog-teaser">#}
                    {#                            <header>#}
                    {#                                <img src="{% static 'img/4.jpg' %}" alt="">#}
                    {#                                <h3><a href="../single">Blackor - Responsive HTML5 Theme</a></h3>#}
                    {#                                <span class="meta">19 August 2017, John Doe</span>#}
                    {#                                <hr>#}
                    {#                            </header>#}
                    {##}
                    {#                        </article>#}
                    {#                    </div>#}
                    {#                    <div class="col-md-6 col-sm-6">#}
                    {#                        <article class=" blog-teaser">#}
                    {#                            <header>#}
                    {#                                <img src="{% static 'img/1.jpg' %}" alt="">#}
                    {#                                <h3><a href="../single">How to Create Template</a></h3>#}
                    {#                                <span class="meta">19 August 2017, John Doe</span>#}
                    {#                                <hr>#}
                    {#                            </header>#}
                    {##}
                    {#                        </article>#}
                    {#                    </div>#}
                    {##}
                    {#                </div>#}
                    {#                <div class="row">#}
                    {#                    <div class="col-md-6 col-sm-6">#}
                    {#                        <article class="blog-teaser">#}
                    {#                            <header>#}
                    {#                                <img src="{% static 'img/3.jpg' %}" alt="">#}
                    {#                                <h3><a href="../single">Blackor - Responsive HTML5 Theme</a></h3>#}
                    {#                                <span class="meta">19 August 2017, John Doe</span>#}
                    {#                                <hr>#}
                    {#                            </header>#}
                    {##}
                    {#                        </article>#}
                    {#                    </div>#}
                    {#                    <div class="col-md-6 col-sm-6">#}
                    {#                        <article class=" blog-teaser">#}
                    {#                            <header>#}
                    {#                                <img src="{% static 'img/1.jpg' %}" alt="">#}
                    {#                                <h3><a href="../single">How to Create Template</a></h3>#}
                    {#                                <span class="meta">19 August 2017, John Doe</span>#}
                    {#                                <hr>#}
                    {#                            </header>#}
                    {##}
                    {#                        </article>#}
                    {#                    </div>#}
                    {##}
                    {#                </div>#}
                    {#                <div class="row">#}
                    {#                    <div class="col-md-6 col-sm-6">#}
                    {#                        <article class="blog-teaser">#}
                    {#                            <header>#}
                    {#                                <img src="{% static 'img/3.jpg' %}" alt="">#}
                    {#                                <h3><a href="../single">Blackor - Responsive HTML5 Theme</a></h3>#}
                    {#                                <span class="meta">19 August 2017, John Doe</span>#}
                    {#                                <hr>#}
                    {#                            </header>#}
                    {##}
                    {#                        </article>#}
                    {#                    </div>#}
                    {#                    <div class="col-md-6 col-sm-6">#}
                    {#                        <article class=" blog-teaser">#}
                    {#                            <header>#}
                    {#                                <img src="{% static 'img/5.jpg' %}" alt="">#}
                    {#                                <h3><a href="../single">How to Create Template</a></h3>#}
                    {#                                <span class="meta">19 August 2017, John Doe</span>#}
                    {#                                <hr>#}
                    {#                            </header>#}
                    {##}
                    {#                        </article>#}
                    {#                    </div>#}
                    {##}
                    {#                </div>#}

                    <div class="paging">
                        <a href="#" class="older">更 多</a>
                    </div>

                </div>

            </div>
            {% include 'sidebar.html' %}
        </div>
    </div>
</div>
<footer>
    {% include 'footer.html' %}
</footer>

<script src="{% static 'js/jquery.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
<script src="{% static 'js/modernizr.js' %}"></script>

</body>
</html>